
-- 0 - disable debug info, 1 - less debug info, 2 - verbose debug info
DEBUG = 2

-- use framework, will disable all deprecated API, false - use legacy API
CC_USE_FRAMEWORK = true

-- show FPS on screen
CC_SHOW_FPS = true

-- disable create unexpected global variable
CC_DISABLE_GLOBAL = true

DEBUG_MODE = true

-- 跳过网络连接
TEMP_SKIP_CONNECT = false

SKIP_HOT_UPDATE = true

-- for module display
CC_DESIGN_RESOLUTION = {
--    width = 1136,
--    height = 720,
--    autoscale = "FIXED_HEIGHT",
--    callback = function(framesize)
--        local ratio = framesize.width / framesize.height
--        if ratio <= 1136/720 then
--            return {autoscale = "SHOW_ALL"}
--        elseif ratio> 1280/720 then
--            return {autoscale = "SHOW_ALL",width=1280,height=720}
--        end
--    end
    width = 1024,
    height = 640,
    autoscale = "FIXED_HEIGHT",
    callback = function(framesize)
        local ratio = framesize.width / framesize.height
        if ratio <= 1024/640 then
            return {autoscale = "SHOW_ALL"}
        elseif ratio> 1200/640 then
            return {autoscale = "SHOW_ALL",width=1200,height=640}
        end
    end
}
